package com.huatao.auth.api;

import com.huatao.auth.entity.AuthUserDTO;
import com.huatao.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("programmer-club-auth")
public interface UserFeignService {

    @PostMapping("getUserInfo")
    Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);

}
